| Conditions | 1 |
| Paths | 1 |
| Total Lines | 33 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import { useStaticQuery, graphql } from 'gatsby'; |
||
| 3 | export const getResumeDataProvider = () => { |
||
| 4 | const { resume } = useStaticQuery(graphql` |
||
| 5 | { |
||
| 6 | resume: dataYaml(slug: {eq: "resume"}) { |
||
| 7 | title |
||
| 8 | subtitle |
||
| 9 | links { |
||
| 10 | name |
||
| 11 | href |
||
| 12 | } |
||
| 13 | intro |
||
| 14 | education { |
||
| 15 | name |
||
| 16 | title |
||
| 17 | year |
||
| 18 | } |
||
| 19 | experience { |
||
| 20 | company |
||
| 21 | location |
||
| 22 | duration |
||
| 23 | roles { |
||
| 24 | title |
||
| 25 | date |
||
| 26 | } |
||
| 27 | description |
||
| 28 | tags |
||
| 29 | } |
||
| 30 | } |
||
| 31 | } |
||
| 32 | `); |
||
| 33 | |||
| 34 | return resume; |
||
| 35 | }; |
||
| 36 |